package com.rickie;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * Spring Boot Starter
 *把项目传到git上去,让其他成员先熟悉下项目结构,然后拿一些基础的东西来试着动手试试
 *
 *需要修改的部分:
 * 1、接口层对象使用Cmd的命名
 * 2、数据库实体统一使用PO命名
 * 3、接口返回出去的对象用CO
 * 4、值对象用VO
 * 5、领域层服务使用XXXDService
 * 6、应用层服务使用XXXAService
 *
 * @author Frank Zhang
 * (scanBasePackages = {"com.rickie","com.alibaba.cola"})
 */
@SpringBootApplication(scanBasePackages = {"com.fk.his"})
@EnableWebMvc
//@EnableDubbo
//@MapperScan({"com.rickie.customer","com.rickie.dbsdk"})
@MapperScan({"com.fk.his.mapper","com.rickie.dbsdk.dao","com.rickie.customer","com.rickie.dbsdk"})
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
